<script>
  highlight_subnav('orderdetaile');
</script>

<div class="tpl-content-wrapper">
            <div class="row-content am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                         <div class="">
                                <div class=""><a href="/admin/order/orderlist"><返回</a></div>
                            </div>
                            <br>
                            <div class="widget-head am-cf">
                                <div class="widget-title  am-cf">订单</div>
                            </div>
                            <div class="widget-body am-fr">
                                <div>
                                    <table>
                                        <thead>
                                            <tr>
                                                <td>下单人: <?php echo $data['consignee']?> </td>
                                                <td></td>
                                            </tr>
                                            <tr>
                                                <td>下单时间：<?php echo date('Y-m-d H:i:s',$data['create_time']);?></td>
                                                <td></td>
                                            </tr>
                                            <tr>
                                                <td>订单号：<?php echo $data['order_id'];?></td>
                                                <td></td>
                                            </tr>
                                            <tr>
                                                <td>订单状态：<?php echo $data['status'];?></td>
                                                <td></td>
                                            </tr>
                                            <tr>
                                                <td>订单总金额：<?php echo $data['price'];?></td>
                                                <td></td>
                                            </tr>
                                            <tr>
                                                <td>订单数量：<?php echo $data['amount'];?></td>
                                                <td></td>
                                            </tr>
                                            <tr>
                                                <td>买家备注：<?php echo $data['leave']?></td>
                                            </tr>
                                        </thead>
                                    </table>
                                        <hr>
                                    <table>
                                    <div>
                                         <p>订单详情</p>
                                    </div>
                                        <tr>
                                            <td> 商品</td>
                                            <td>&emsp;&emsp;&emsp;</td>
                                            <td style="margin-right: 100px;"> 数量</td>
                                        </tr>
                                        <?php foreach ($orderdetail as $key => $value) :?>
                                        <tr>
                                            <td><?php echo $value['name']?></td>
                                            <td>&emsp;&emsp;&emsp;</td>
                                            <td><?php echo $value['amount']?></td>
                                        </tr>
                                    <?php endforeach;?>
                                    </table>
                                </div>
                                <div class="am-u-lg-12 am-cf">

                                    <div class="am-fr" style="display: none;">
                                        <ul class="am-pagination tpl-pagination">
                                            <li class="am-disabled"><a href="#">«</a></li>
                                            <li class="am-active"><a href="#">1</a></li>
                                            <li><a href="#">2</a></li>
                                            <li><a href="#">3</a></li>
                                            <li><a href="#">4</a></li>
                                            <li><a href="#">5</a></li>
                                            <li><a href="#">»</a></li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
</div>
